#!/bin/sh

pkg=$1
dst=$2

if [ ! -d $dst ]; then
	mkdir -p $dst
fi

_pkg=$(basename $pkg)
name="${_pkg%%-[0-9]*}"
echo "info: installing: $name"
tar -C $dst -xf $pkg

